//
//  AccountDynamicView.h
//  NOAHWM
//
//  Created by Ryan on 13-6-24.
//  Copyright (c) 2013年 Ryan. All rights reserved.
//

#import <UIKit/UIKit.h>

typedef enum {
    kDynamicList = 0,
    kDynamicTime
}ListType;

typedef enum {
    kListSub1 = 0,
    kListSub2,
    kListSub3,
    kListSub4
}ListSubType;

@interface AccountDynamicView : UIView

@property (nonatomic, retain) IBOutlet UIImageView *highlightedImageView;
@property (nonatomic, retain) IBOutlet UIButton *leftButton;
@property (nonatomic, retain) IBOutlet UIButton *rightButton;

@property (nonatomic, retain) IBOutlet UIView *leftContainView;
@property (nonatomic, retain) IBOutlet UIView *rightContainView;

@property (nonatomic, retain) IBOutlet UIImageView *tabImageView;
@property (nonatomic, retain) IBOutlet UIButton *tab1Button;
@property (nonatomic, retain) IBOutlet UIButton *tab2Button;
@property (nonatomic, retain) IBOutlet UIButton *tab3Button;
@property (nonatomic, retain) IBOutlet UIButton *tab4Button;

@property (nonatomic, retain) IBOutlet UITableView *leftTableView;
@property (nonatomic, retain) IBOutlet UITableView *rightTableView;
@property (nonatomic, retain) IBOutlet UIImageView *arrowImageView;

@property (nonatomic, retain) NSMutableArray *accountDynamics;
@property (nonatomic, assign) ListType listType;
@property (nonatomic, assign) ListSubType listSubType;
@property (nonatomic, assign) BOOL isFullScreen;

- (IBAction)listButtonClicked:(id)sender;
- (IBAction)tabButtonClicked:(id)sender;

- (void)callServerToGetDynamicList:(NSString *)accountId
                         productId:(NSString *)productId;
@end
